package view.toolbar
{
	import flash.display.Sprite;
	
	public class Dices
	{
		private var _list:Array = [];
		public function Dices()
		{
			super();
		}
		
		public function addDice(item:Dice):void{
			_list.push(item);
		}
		
		public function active(item:Dice):void{
			for (var i:int=0; i<_list.length; i++){
				if (_list[i] != item){
					(_list[i] as Dice).gotoNormal();
				}
			}
		}
	}
}